package com.hsurosy.infrastructure.dao;

import com.hsurosy.infrastructure.dao.po.GroupBuyActivity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author Hsu琛君珩
 * @Date 2025-08-10 20:06
 * @Description 拼团活动表的DAO接口
 * @Version: v1.0.0
 */
@Mapper
public interface IGroupBuyActivityDao {

    /** 查询所有拼团活动记录 */
    List<GroupBuyActivity> queryGroupBuyActivityList();

    /** 根据活动信息查询有效的拼团活动 */
    GroupBuyActivity queryValidGroupBuyActivity(GroupBuyActivity groupBuyActivity);

}
